using System;
using System.Collections.Generic;

namespace ConsoleApplication11.Models
{
    public partial class patient_diary
    {
        public patient_diary()
        {
            this.diary_drug_history = new List<diary_drug_history>();
        }

        public int diary_id { get; set; }
        public Nullable<System.DateTime> create_time { get; set; }
        public string create_by { get; set; }
        public Nullable<System.DateTime> update_time { get; set; }
        public string update_by { get; set; }
        public string patient_id { get; set; }
        public Nullable<System.DateTime> diary_date { get; set; }
        public Nullable<decimal> sbp_1 { get; set; }
        public Nullable<decimal> dbp_1 { get; set; }
        public Nullable<decimal> weight { get; set; }
        public Nullable<int> smoke_status { get; set; }
        public Nullable<int> smoke_number { get; set; }
        public Nullable<int> is_salt_limit { get; set; }
        public Nullable<int> is_oil_limit { get; set; }
        public Nullable<decimal> sbp_2 { get; set; }
        public Nullable<decimal> dbp_2 { get; set; }
        public Nullable<decimal> sbp_3 { get; set; }
        public Nullable<decimal> dbp_3 { get; set; }
        public Nullable<int> salt_qty { get; set; }
        public Nullable<int> oil_qty { get; set; }
        public Nullable<int> fruit_qty { get; set; }
        public Nullable<int> vegetable_qty { get; set; }
        public Nullable<int> sport_1_minutes { get; set; }
        public Nullable<int> sport_2_minutes { get; set; }
        public Nullable<int> total_energe { get; set; }
        public Nullable<int> sport_3_minutes { get; set; }
        public Nullable<int> sport_4_minutes { get; set; }
        public Nullable<int> belly_perimeter { get; set; }
        public string drug_name_1 { get; set; }
        public string drug_name_2 { get; set; }
        public string drug_name_3 { get; set; }
        public string drug_name_4 { get; set; }
        public string drug_name_5 { get; set; }
        public string drug_usage_1 { get; set; }
        public string drug_usage_2 { get; set; }
        public string drug_usage_3 { get; set; }
        public string drug_usage_4 { get; set; }
        public string drug_usage_5 { get; set; }
        public string drug_dosage_1 { get; set; }
        public string drug_dosage_2 { get; set; }
        public string drug_dosage_3 { get; set; }
        public string drug_dosage_4 { get; set; }
        public string drug_dosage_5 { get; set; }
        public string fruit_name { get; set; }
        public string weather { get; set; }
        public Nullable<int> followup_target { get; set; }
        public Nullable<int> comm_hospital { get; set; }
        public string other_hospital { get; set; }
        public Nullable<int> hbp_followup { get; set; }
        public string other_ills { get; set; }
        public Nullable<decimal> all_cost { get; set; }
        public Nullable<decimal> medicine_cost { get; set; }
        public Nullable<decimal> personal_cost { get; set; }
        public string feel_record { get; set; }
        public virtual ICollection<diary_drug_history> diary_drug_history { get; set; }
    }
}
